package org.example.car.system.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.car.system.domain.Role;

import java.util.List;

/**
 * @Author: cy
 * @Date: 2024/6/22 9:56
 */
@Mapper
public interface RoleMapper {
    List<Role> selectAll();

    boolean insertRole(Role entity);

    boolean delRole(Integer id);

    boolean updateRole(Role entity);

    void saveAll(List<Role> list);
}
